DatabaseSetFilter

 

The 'DatabaseSetFilter' function loads the data again by using conditions and sorts the data.

 

void @DatabaseSetFilter(string class_name, string where, string orderby);

 

Parameters

string class_name : Class name of Database object

string where : Statement to specify the conditions

string orderby : Statement to sort the data

 

Example
@DatabaseSetFilter ("Database1","GRADE = 3","ID DESC");

Description : The data(GRADE = 3) is loaded again in 'Database1' and is sorted in descending order by using ID.

 

Relate items)

Database object Example